package com.tianxiao.faas.api.param.corner;

import java.io.Serializable;

public class ArticleSaveParam implements Serializable {
    private static final long serialVersionUID = 8422883220613689007L;
    public static final String SLP = "##";

    private Long id;

    private String name;

    private String img;

    private String content;

    private Long shopId;

    private String desc;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String title() {
        return (name == null ? "" : name) + SLP + (desc == null ? "" : desc);
    }
}
